<?
include("../gestione/includes/config.inc.php");
include("../gestione/includes/auth.lib.php");
include("../gestione/includes/product_new.class.php");
include("../gestione/includes/e-commerce_new.class.php");
include("../gestione/includes/news.class.php");
include("../gestione/includes/content.class.php");
include("../gestione/includes/keywords.class.php");
include("../gestione/includes/class.xml.php");
$lang = "ita";
$navbar = "";
####################### DEFAULT PISCINE #######################################################
$cid = 2;
$tiponews = "piscine";
$titvetrina = "tit-articoli-piscine-vetrina.gif";
$titcontent = "bkgTitCnt_piscine.gif";
$tipobanner = "piscine";
$titprodotti = '<img src="../images/titoli/tit-prodotti-piscine.gif" width="240" height="55">';
$titnovita = '<img src="../images/titoli/tit-novita-piscine.gif" width="200" height="55">';
$logo = '<img src="../images/loghi/bs-piscine.gif" width="99" height="100">';
$bgcolor = '#00A6E9';
#############################################################################################
$menukey = keywords::getKeyBottomHome($tiponews);
$op = $_GET['op'];
if($op == "")
 $op = $_POST['op'];
$newSession = new websession();
if($newSession->order != NULL) {
  	$articoli = $newSession->order->getArticoli();
  	if(count($articoli)>0) {
  	 $tot = $newSession->order->getTotale($articoli);
  	 $str_tot = "TOTALE: &euro; ".number_format($tot,2,",",".");
  	}
}
if($newSession->getStatus())  {
  $registrati = '<a href="/'.FOLDERNEW.'/webproduct.php?op=logout" rel="nofollow"><img src="/images/logout.png"></a><br><br>
  <a href="/'.FOLDERNEW.'/webproduct.php?op=profile" rel="nofollow"><img src="/images/profilo.png"></a>';
  $tablelogin = '';
 }
####################################### banner prodotti ##########################################
	$banner = articoli::getBanner($lang);
	$bannerProd = $banner[0];
	$onload = " onLoad=\"".$banner[1]."\"";
############################# banner destra 1 ###################################################
$bannerDx = banner::getCookieBanner($tipobanner,"destra",1);
if(is_a($bannerDx,"banner"))  {
$banner = $bannerDx->getIt();
	if(!is_null($banner))
	  $banner_dx1 = $banner;
	else
	  $banner_dx1 = "";
} else
   $banner_dx1 = "";
############################# banner destra 2 ###################################################
$bannerDx = banner::getCookieBanner($tipobanner,"destra",2);
if(is_a($bannerDx,"banner"))  {
$banner = $bannerDx->getIt();
	if(!is_null($banner))
	  $banner_dx2 = $banner;
	else
	  $banner_dx2 = "";
} else
   $banner_dx2 = "";
############################# banner destra 3 ###################################################
$bannerDx = banner::getCookieBanner($tipobanner,"destra",3);
if(is_a($bannerDx,"banner"))  {
$banner = $bannerDx->getIt();
	if(!is_null($banner))
	  $banner_dx3 = $banner;
	else
	  $banner_dx3 = "";
} else
   $banner_dx3 = "";
############################# banner destra 4 ###################################################
$bannerDx = banner::getCookieBanner($tipobanner,"destra",4);
if(is_a($bannerDx,"banner"))  {
$banner = $bannerDx->getIt();
	if(!is_null($banner))
	  $banner_dx4 = $banner;
	else
	  $banner_dx4 = "";
} else
   $banner_dx4 = "";
############################# banner sinistra 1 ###################################################
$bannerSx = banner::getCookieBanner($tipobanner,"sinistra",1);
if(is_a($bannerSx,"banner"))  {
$banner = $bannerSx->getIt();
	if(!is_null($banner))
	  $banner_sx1 = $banner;
	else
	  $banner_sx1 = "";
} else
   $banner_sx1 = "";
############################# banner sinistra 2 ###################################################
$bannerSx = banner::getCookieBanner($tipobanner,"sinistra",2);
if(is_a($bannerSx,"banner"))  {
$banner = $bannerSx->getIt();
	if(!is_null($banner))
	  $banner_sx2 = $banner;
	else
	  $banner_sx2 = "";
} else
   $banner_sx2 = "";
############################# banner sinistra 3 ###################################################
$bannerSx = banner::getCookieBanner($tipobanner,"sinistra",3);
if(is_a($bannerSx,"banner"))  {
$banner = $bannerSx->getIt();
	if(!is_null($banner))
	  $banner_sx3 = $banner;
	else
	  $banner_sx3 = "";
} else
   $banner_sx3 = "";
############################# banner sinistra 4 ###################################################
$bannerSx = banner::getCookieBanner($tipobanner,"sinistra",4);
if(is_a($bannerSx,"banner"))  {
$banner = $bannerSx->getIt();
	if(!is_null($banner))
	  $banner_sx4 = $banner;
	else
	  $banner_sx4 = "";
} else
   $banner_sx4 = "";
####################################################################################################
	  $content = '<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="20"><img src="../images/spacer.gif" width="20" height="36"></td>
						  <td width="470" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="3" class=plain>									
						  <tr>
			  <td width=100% class=tit01>I feedback di BSVillage</td>
			</tr>';
  switch($op)  {
    case "addFeed":
	  $content .= '<tr>
			  <td width=100% align=center>
				<table width=420 cellpadding=3 cellspacing=0 class=plain style="border:1px #EFEFEF solid">
				 <tr>
				  <td class=tit02 align=center>Lascia il tuo commento</td>
				 </tr>
				 <tr>
				  <td width=100%>
					<table width=420 class=plain cellpadding=3 cellspacing=0>
					   <form name=formfeed action=feedback.php method=POST>						
						<tr>
						 <td colspan=2>&nbsp;</td>
						</tr>
						<tr>
						 <td width=60 align=right>Nome:</td>
						 <td><input type=text name=name value="'.$newSession->webuser->ragione.'"  size=50></td>
						</tr>
						<tr>
						 <td width=60 align=right valign=top>Giudizio:</td>
						 <td>
						 <table width=40>
						  <tr>
						   <td width=20><input type=radio name=voto value=negativo></td>
						   <td width=20><img src="../images/iconNeg_16x16.gif" alt=Negativo></td>
						  </tr>
						  <tr> 
						   <td width=20><input type=radio name=voto value=neutro></td>
						   <td width=20><img src="../images/iconNeu_16x16.gif" alt=Neutro></td>
						  </tr>
						  <tr> 
						   <td width=20><input type=radio name=voto value=positivo></td>
						   <td width=20><img src="../images/iconPos_16x16.gif" alt=Positivo></td>
						  </tr> 
						 </table>
						</tr>
						<tr>
						 <td align=right valign=top>Commento:</td>
						 <td valign=top><textarea name=testo cols=80 rows=10></textarea></td>
						</tr>
						<tr>
						 <td colspan=2>&nbsp;<input type=hidden name=op value=save>
						 </td>
						</tr>
						<tr>
						 <td colspan=2 align=center><input type=submit value=Invia onClick="return check_Voto();"></td>
						</tr>';
						$content .= '</form>
						</table>
				  </td>
				 </tr>
				</table>
			  </td>
			</tr>';
	break;
	
	case "save":
	 	$voto = $_POST['voto'];
		$testo = $_POST['testo'];
		$name = $_POST['name'];
		$feed = new feedback("",$name,0,$voto,$testo);
		$error = $feed->save();
		$content .= "<tr>
			  		<td width=100% align=center>
			    		<table width=420 border=0 cellpadding=0 cellspacing=0>
							<tr>
							 <td width=420 valign=top>
							  <table class=plain width=420 cellpadding=2><tr><td class=error align=\"center\"><b>$error</b><br><a class=plain href=\"feedback.php\">Guarda tutti i commenti</a></td>
							  </tr>
							  </table>
							  </td>
							</tr>
						</table>
					   </td>
						</tr>";
	break;
	
	default:
		$min = $_GET['min'];
		$max = $_GET['max'];
		$page = $_GET['page'];
		$tipo = $_GET['tipo'];
	  $thismonth = date("m");
			$content .= '<tr>
			  <td width=100% align=center>
				<table width=420 cellpadding=3 cellspacing=0 class=plain style="border:1px #EFEFEF solid">
				 <tr>
				  <td colspan=5 class=tit02 align=center>Indice di gradimento</td>
				 </tr>
				 <tr>
				  <td width=20>&nbsp;</td>
				  <td width=100>&nbsp;</td>
				  <td width=100 align=center>'.$mesi[$thismonth].'</td>
				  <td width=100 align=center>Ultimi 6 mesi</td>
				  <td width=100 align=center>Totale</td>
				 </tr>
				 <tr>
				  <td align=center><img src="../images/iconNeg_16x16.gif" alt=Negativo></td>
				  <td align=center>negativo</td>
				  <td align=center>'.feedback::getStat("negativo","this").'</td>
				  <td align=center>'.feedback::getStat("negativo","last6").'</td>
				  <td align=center>'.feedback::getStat("negativo","tot").'</td>
				 </tr>
				 <tr>
				  <td align=center><img src="../images/iconNeu_16x16.gif" alt=Neutro></td>
				  <td align=center>neutro</td>
				  <td align=center>'.feedback::getStat("neutro","this").'</td>
				  <td align=center>'.feedback::getStat("neutro","last6").'</td>
				  <td align=center>'.feedback::getStat("neutro","tot").'</td>
				 </tr>
				 <tr>
				  <td align=center><img src="../images/iconPos_16x16.gif" alt=Negativo></td>
				  <td align=center>positivo</td>
				  <td align=center>'.feedback::getStat("positivo","this").'</td>
				  <td align=center>'.feedback::getStat("positivo","last6").'</td>
				  <td align=center>'.feedback::getStat("positivo","tot").'</td>
				 </tr>
				</table>
			  </td>
			</tr>
			<tr>
			 <td width=100% align=center>
			  <table width=100% class=plain cellpadding=2>
			   <tr>
			    <td width=50%>Percentuale di feedback positivi: '.number_format(feedback::getPercPos(),4,",",".").' %</td>
				<td width=50% align=right><a class=plain href="feedback.php?op=addFeed">Lascia un commento di feedback</a></td>
				</tr>
				 </table>
			 </td>
			</tr>
				 <tr>
					<td width=100% align=center>'.feedback::getFeedback("plain",$tipo,$min,$max,$page).'</td>
				 </tr>';
	break;
  }
  $content .= '</table>                      
			 </td>
			 <td width="20"><img src="../images/spacer.gif" width="20" height="36"></td>
						</tr>
					</table>';

  $content = makeFramedx($content,$lang);
?>  
<html><!-- InstanceBegin template="/Templates/bstemplate_nico.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Business Shop Village</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../CSS/e-com.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../gestione/js/NumberFormat154.js"></script>
<script type="text/javascript" src="../gestione/js/ajax.js"></script>
<script src="../js/menu/jquery-1.1.2.js" type="text/javascript"></script>
<!--<script type="text/javascript" src="../gestione/js/jquery-1.3.2.min.js"></script>-->
<script src="../js/menu/jquery.bgiframe.js" type="text/javascript"></script>
<script src="../js/menu/jquery.dimensions.js" type="text/javascript"></script>
<script src="../js/menu/jquery.jdMenu.js" type="text/javascript"></script>
<script type="text/JavaScript">
///////////////////////////////////
function clickIE4(){
if (event.button==2){
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false")

// --> 
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function flvFTSS4(){//v1.02
this.style.filter="";}

function flvFTSS3(){//v1.02
var v1=arguments,v2=v1[0],v3=MM_findObj(v2);if (v3&&v3.TSS2!=null){clearTimeout(v3.TSS2);}}

function flvFTSS2(){//v1.02
var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=v1[1],v5=v1[2],v6,v7,v8,v9,v10,v11,v12=document;if (v3&&v3.TSS7){flvFTSS3(v2);v9="flvFTSS2('"+v2+"',"+v4+","+v5+")";if (v4==1){if (!v3.TSS5.complete){v3.TSS2=setTimeout(v9,50);return;}v6=v3.TSS9+1;if (v6>v3.TSS7.length-1){if (v3.TSS10==0){return;}else {v6=0;}}else if (v6+1<v3.TSS7.length){v3.TSS5.src=v3.TSS7[v6+1][0];}}else {if (!v3.TSS3.complete){v3.TSS2=setTimeout(v9,50);return;}v6=v3.TSS9-1;if (v6<0){if (v3.TSS10==0){return;}else {v6=v3.TSS7.length-1;}}else if (v6-1>0){v3.TSS3.src=v3.TSS7[v6-1][0];}}v3.TSS9=v6;v10=v3.TSS7[v6][0];v11=v3.TSS7[v6][1];v7=(v3.filters&&!v12.TSS6&&v11<25);if (v7){if (v3.filters[0]&&v3.filters[0].status==2){v3.filters[0].Stop();}if (v11==0){v8="blendTrans(Duration="+v3.TSS8+")";}else {v8="revealTrans(Duration="+v3.TSS8+",Transition="+(v11-1)+")";}v3.style.filter=v8;v3.onfilterchange=flvFTSS4;v3.filters[0].Apply();}v3.src=v10;if (v7){v3.filters[0].Play();}if (v5==1){v3.TSS2=setTimeout(v9,v3.TSS4);}}}

function flvFTSS1(){//v1.02
// Copyright 2003, Marja Ribbers-de Vroed, FlevOOware (www.TSS1.nl/dreamweaver/)
var v1=arguments,v2=document,v3=v1[0],v4=MM_findObj(v3),v5,v6;if (v4){v2.TSS6=(navigator.userAgent.toLowerCase().indexOf("mac")!=-1);v4.TSS8=v1[1]/1000;v4.TSS4=v1[2]+v1[1];v6=v1[3];v4.TSS10=v1[4];v4.TSS7=new Array();for (var v7=5;v7<v1.length;v7+=2){v4.TSS7[v4.TSS7.length]=new Array(v1[v7],v1[v7+1]);}v4.TSS9=0;v4.TSS5=new Image();v4.TSS5.src=v1[7];v4.TSS3=new Image();v4.TSS3.src=v1[v1.length-2];if (v6==1){v5="flvFTSS2('"+v3+"',1,"+v6+")";v4.TSS2=setTimeout(v5,v4.TSS4);}}}
//-->

$(document).ready(function(){
				$('ul.jd_menu').jdMenu({	onShow: loadMenu
											//onHideCheck: onHideCheckMenu,
											//onHide: onHideMenu, 
											//onClick: onClickMenu, 
											//onAnimate: onAnimate
											});
				$('ul.jd_menu_vertical').jdMenu({onShow: loadMenu, onHide: unloadMenu, offset: 1, onAnimate: onAnimate});
});
</script>
<link rel="stylesheet" href="../js/menu/jdMenu.css" type="text/css" />
<link rel="stylesheet" href="../js/menu/jdMenu.slate.css" type="text/css" />
<!-- InstanceBeginEditable name="head" -->
<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2773334-1";
urchinTracker();
</script>

--><script type="text/javascript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function flvFLSS4(){//v1.0
var v1=arguments,v2=v1[0],v3=MM_findObj(v2);if (v3&&v3.LSS7!=null){clearTimeout(v3.LSS7);}}

function flvFLSS3(){//v1.0
var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=v1[1],v5='',v6;if (!v3.LSS4.complete){v6="flvFLSS3('"+v2+"',"+v4+")";setTimeout(v6,50);return;}if (v3.LSS3[v4][1]!=""){v5+='<a href="'+v3.LSS3[v4][1]+'"';if (v3.LSS2!=""){v5+=' target="'+v3.LSS2+'"';}v5+='>';}v5+='<img src="'+v3.LSS3[v4][0]+'" border="0" alt="">';if (v3.LSS3[v4][1]!=""){v5+='</a>';}if (v3.LSS3[v4][2]!=""){v5+='<br>'+unescape(v3.LSS3[v4][2]);}if (document.layers){v3.document.open();v3.document.write(v5);v3.document.close();}else {v3.innerHTML=v5;}}

function flvFLSS2(){//v1.0
var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=v1[1],v5=v1[2],v6,v7,v8;if (v3&&v3.LSS3){flvFLSS4(v2);if (v4==1){v6=v3.LSS8+1;if (v6>v3.LSS3.length-1){v6=0;if (v3.LSS9==0){return;}}v8=v3.LSS3[v6][0];}else {v6=v3.LSS8-1;if (v6<0){v6=v3.LSS3.length-1;if (v3.LSS9==0){return;}}v8=v3.LSS3[v6][0];}v3.LSS8=v6;if (!document.layers&&!v3.LSS6){v3.LSS4=new Image();}v3.LSS4.src=v8;flvFLSS3(v2,v6);if (v5==1){v7="flvFLSS2('"+v2+"',"+v4+","+v5+")";v3.LSS7=setTimeout(v7,v3.LSS5);}}}

function flvFLSS1(){//v1.0
// Copyright 2003, Marja Ribbers-de Vroed, FlevOOware (www.flevooware.nl/dreamweaver/)
var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4,v5;if (v3){v3.LSS5=v1[1];v5=v1[2];v3.LSS9=v1[3];v3.LSS2=v1[4];v3.LSS3=new Array();for (var v6=5;v6<v1.length;v6+=3){v3.LSS3[v3.LSS3.length]=new Array(v1[v6],v1[v6+1],v1[v6+2]);}v3.LSS8=0;v3.LSS6=(navigator.userAgent.toLowerCase().indexOf("netscape6")!=-1);v3.LSS4=new Image();v3.LSS4.src=v1[5];flvFLSS3(v2,0);if (v5){v4="flvFLSS2('"+v2+"',1,"+v5+")";v3.LSS7=setTimeout(v4,v3.LSS5);}}}
//-->
</script>


<script language="javascript">
function check_Voto() {
  if(!document.formfeed.voto[0].checked && !document.formfeed.voto[1].checked && !document.formfeed.voto[2].checked)  {
    alert('Attenzione! Devi inserire il tuo giudizio.');
	return false;
  }
  return true;
}
</script>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
.style1 {
	color: #7584A1;
	font-weight: bold;
}
-->
</style>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-2773334-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  <?=$onload?>>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  
  <tr>
    <td height="100" background="">&nbsp;</td>
    <td valign="top" background="">&nbsp;</td>
    <td width="952" valign="top" style="border-left:1px solid #B3B3B3;border-right:1px solid #B3B3B3"><table width="952" height="100" border="0" cellpadding="0" cellspacing="0" background="/images/top_new_2.jpg">
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="99" align="center">&nbsp;</td>
            <td align="right"><a href="/ita/home.php"><img src="/images/spacer.gif" alt="Home Page" width="180" height="80" border="0"></a></td>
            <td width="670"><table width="100%" height="100" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="30" colspan="3" align="right"><a href="/giardino/articolo_3.html"><img src="/images/bnt-Giardino.jpg"></img></a></td>
              </tr>
              <tr>
                <td width="54%" align="right" valign="middle" class="plain"><a href="../eng/home.php" class="plain" rel="nofollow"></a></td>
                <td width="16%" align="center" valign="middle" class="plain">
				<a href="/ita/webpage.php?idpage=34"><img src="/images/assistenza2.jpg"></a></td>
                <td width="30%" align="right" valign="middle" class="plain"><img src="/images/ordini_tel2-55.png">&nbsp;</td>
                </tr>
            </table></td>
          </tr>
        </table>
        </td>
      </tr>
    </table></td>
    <td valign="top" background="">&nbsp;</td>
    <td background="" bgcolor="">&nbsp;</td>
  </tr>
  <tr>
    <td height="100%" background="" bgcolor="">&nbsp;</td>
    <td valign="top" background="">&nbsp;</td>
    <td width="952" valign="top" style="border-left:1px solid #B3B3B3;border-right:1px solid #B3B3B3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      
      <tr>
        <td style="border-top:#FFFFFF 1px solid"><table width="100%" height="28" border="0" cellpadding="0" cellspacing="0" background="../images/bkg.menu.gif">
            <tr valign="middle">
              <td width="190" valign="middle">&nbsp;</td>
              <td align="center"><div id="mtop"><a href="../<?=FOLDERNEW?>/home.php">Home</a><!--<a href="#">Blog</a>--><a href="../<?=FOLDERNEW?>/feedback.php">Feedback Village</a><a href="../<?=FOLDERNEW?>/ordertrack.php">Stato Ordini</a><a href="allnews.php?tipo=<?=$tiponews?>">News</a><a href="../<?=FOLDERNEW?>/webpage.php?idpage=6">FAQ</a></div></td>
              <td width="190" align="center" valign="middle"><a href="../<?=FOLDERNEW?>/rss.php"><img src="../images/rss.gif" width="49" height="23" border="0"></a></td>
            </tr>
          </table>          
          <table width="952" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td bgcolor="<?=$bgcolor?>" style="border-top:#FFFFFF 1px solid; border-bottom:#FFFFFF 1px solid"><img src="../images/spacer.gif" width="952" height="5"></td>
            </tr>
          </table>
          <table width="100%" height="55" border="0" cellpadding="0" cellspacing="0" background="../images/bkg_top_news_search.gif">
            <tr valign="middle">
              <td width="240" valign="middle"><img src="../images/colSx/newsletter_new.jpg" width="240" height="55"></td>
              <td width="125" align="left"><table width="220" height="25" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="20">&nbsp;</td>
                  <td align="center" class="plain-a">Inserisci la tua e-mail per iscriverti</td>
                  </tr>
              </table>
                <table width="220" border="0" cellspacing="0" cellpadding="0">
                  <form action="../<?=FOLDERNEW?>/webproduct.php?op=subscribe_news" method="post">
                    <tr>
                      <td width="20">&nbsp;</td>
                      <td><input name="mailnews2" type="text" class="newsl" title="Inserisci la tua e-mail per iscriverti alla newsletter" value="e-mail" onClick="this.value=''"></td>
                      <td align="right"><input type="submit" name="Submit222" value="iscriviti">                      </td>
                      </tr>
                  </form>
                </table></td>
              <td align="right"><img src="../images/sep.gif" width="6" height="55"></td>
              <td width="240" valign="middle"><img src="../images/colSx/search_new.jpg" width="240" height="55"></td>
              <td width="222" valign="middle"><table width="220" border="0" cellspacing="0" cellpadding="0">
                <form name=formsearch action="../<?=FOLDERNEW?>/webproduct.php" method="post">
                  <tr>
                    <td width="177"><input name="search" type="text" class="news_new" onClick="this.value=''" value="cerca prodotto" size="15"></td>
                    <td width="43"><input type="hidden" name="op" value="search_web">
                        <input type="submit" name="Submit23" value="cerca"></td>
                    </tr>
                </form>
              </table></td>
            </tr>
          </table></td>
      </tr>
    </table>
      <table width="952" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><table width="952" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td bgcolor="<?=$bgcolor?>" style="border-top:#FFFFFF 1px solid; border-bottom:#FFFFFF 1px solid"><img src="../images/spacer.gif" width="952" height="5"></td>
            </tr>
          </table></td>
        </tr>
        
        <tr>
          <td height="100%"><table width="952" height="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="240" valign="top" id="bkgTabSx"><table width="240" height="20" border="0" cellpadding="0" cellspacing="0">
                    <tr valign="middle">
                      <td height="20" align="center" class="tit02" valign="top"><?=$titprodotti?></td>
                    </tr>
                  </table>
                  <?
	//menusx categorie
	$menusx = category::menuSxNew($cid);	
	echo $menusx[0];		  
?>                
                  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="240" height="1"></td>
                    </tr>
                  </table>
                  <table width="240" height="200" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td valign="top" style="background:url('/images/colSx/bkg-news.gif') no-repeat;"><table width="240" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td><img src="../images/spacer.gif" width="50" height="50"></td>
                          </tr>
                          <tr>
                            <td height="140"><table width="240" height="140" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="20"><img src="../images/spacer.gif" width="20" height="90"></td>
                                  <td width="200" class="plain">
                                  		<?=News::getRss()?>
                                  </td>
                                  <td width="20"><img src="../images/spacer.gif" width="20" height="90"></td>
                                </tr>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                  </table>
				  <?=$menusx[1]?>
				  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="240" height="1"></td>
                    </tr>
                  </table>
				  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center"><a href="http://www.facebook.com/pages/Reggio-Nell-Emilia-Italy/BSVillagecom-Piscine-Interrate-Giardinaggio-Novita-Fitness-Casa/43839966253?sid=ead7117d1df58dd7989deaaa4fc3e250&ref=search" target="_blank"><img src="../images/facebook1.jpg" border="0" style="margin-bottom:10px;margin-top:10px"></a></td>
                    </tr>
                  </table>
				  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="240" height="1"></td>
                    </tr>
                  </table>
                  <table width="240" cellpadding="0" cellspacing="0">
				   <tr>
				    <td align="center" valign="middle"><?=$banner_sx1?></td>
				   </tr>
				  </table>
				  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
				  <table width="240" cellpadding="0" cellspacing="0">
				   <tr>
				    <td align="center" valign="middle"><?=$banner_sx2?></td>
				   </tr>
				  </table>
				  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>                  
				  <table width="240" cellpadding="0" cellspacing="0">
				   <tr>
				    <td align="center" valign="middle"><?=$banner_sx3?></td>
				   </tr>
				  </table>
				  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
				  <table width="240" cellpadding="0" cellspacing="0">
				   <tr>
				    <td align="center" valign="middle"><?=$banner_sx4?></td>
				   </tr>
				  </table>
				  <table width="240" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#999999" style=""><img src="../images/spacer.gif" width="200" height="1"></td>
                    </tr>
                  </table>
				 </td>
                <td width="710" valign="top" class="plain"><!-- InstanceBeginEditable name="content" --><?=$content?><!-- InstanceEndEditable --></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>    
    </td>
    <td valign="top" background="">&nbsp;</td>
    <td background="" bgcolor="">&nbsp;</td>
  </tr>
  <tr>
    <td height="130" background="" bgcolor="">&nbsp;</td>
    <td width="20" background="">&nbsp;</td>
    <td width="952" height="80" valign="bottom" bgcolor="#FBFBFB" style="border-left:1px solid #B3B3B3;border-right:1px solid #B3B3B3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="../images/spacer.gif" width="50" height="10"></td>
      </tr>
    </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/balloon_down.jpg">
        <tr>
          <td width="25%" height="180" align="center" valign="top"><table width="190" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="testo_dett2">Guida all'acquisto<br>
                <br>
               </span></td>
              </tr>
            <tr>
              <td>
			  <?=content::getMenu(9)?>
			  </td>
            </tr>
          </table></td>
          <td width="26%" align="center" valign="top"><table width="210" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="testo_dett2">Informazioni</span><span class="style1"><br>
                  <br>
              </span></td>
              </tr>
            <tr>
              <td>
			  <?=content::getMenu(10)?>
			  <ul style="margin-top:0px;">
					<li class="plain"><a href="../<?=FOLDERNEW?>/feedback.php" class="plain">Feedback</a></li>
				  </ul>
			  </td>
            </tr>
          </table></td>
          <td width="26%" align="center" valign="top"><table width="210" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="testo_dett2">Condizioni di vendita</span> <br>
                  <br></td>
            </tr>
            <tr>
			  <td>
				 <?=content::getMenu(11)?> 
			  </td>
            </tr>
          </table></td>
          <td width="23%" align="center" valign="top"><table width="180" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td><span class="testo_dett2">Per utenti registrati</span> <br>
                  <br></td>
            </tr>
            <tr>
              <td>
			  	<ul>
			  	  <li class="plain"><a class="plain" href="/ita/webproduct.php?op=register">Registrati / Accedi</a></li>
			  	  <li class="plain"><a class="plain" href="#">Segnalazione Problemi</a></li>
			  	  <li class="plain"><a class="plain" href="/ita/ordertrack.php">Situazione Ordini</a></li>
			  	  <li class="plain"><a class="plain" href="/ita/webproduct.php?op=profile">Modifica i dati di fatturazione</a></li>
			  	  <li class="plain"><a class="plain" href="/ita/webproduct.php?op=profile">Modifica i dati di spedizione</a></li>
			  	</ul>
			  </td>
            </tr>
          </table></td>
        </tr>
      </table>
      <table width="100%" height="28" border="0" cellpadding="0" cellspacing="0" background="../images/bkg.menu.gif">
        <tr valign="middle">
          <td width="20" valign="middle">&nbsp;</td>
          <td align="center"><div id="mtop"><a href="http://www.bsvillage.com"><strong>Network:</strong> BsVillage.com</a> <a href="../<?=FOLDERNEW?>/webpage.php?idpage=4">Circuito Affiliazione </a><a href="../<?=FOLDERNEW?>/sitemap.php">Mappa Sito</a> <!--<a href="#">Blog BS Piscine</a> <a href="../<?=FOLDERNEW?>/webpage.php?idpage=2">Blog BS Giardino</a> <a href="../<?=FOLDERNEW?>/webpage.php?idpage=3">Blog BS Casa</a> <a href="../<?=FOLDERNEW?>/feedback.php">Blog BS Fitness</a>--></div></td>
          <td width="20" valign="middle">&nbsp;</td>
        </tr>
      </table>
      <table width="952" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td bgcolor="#CCCCCC" style="border-top:#FFFFFF 1px solid; border-bottom:#FFFFFF 1px solid"><img src="../images/spacer.gif" width="952" height="1"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="../images/spacer.gif" width="50" height="10"></td>
        </tr>
      </table>
      <table width="952" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="120" align="center">&nbsp;</td>
          <td align="center"><img src="../images/cards/1_visa.gif" width="43" height="30"></td>
          <td align="center"><img src="../images/cards/2_mastercard.gif" width="53" height="30"></td>
          <td align="center"><img src="../images/cards/4_postepay.gif" width="57" height="30"></td>
          <td align="center"><img src="../images/cards/iwbank.gif" width="108" height="30"></td>
          <td align="center"><img src="../images/cards/7_verified.gif" width="68" height="30"></td>
          <td align="center"><img src="../images/cards/8_securemastercard.gif" width="67" height="30"></td>
		  <td align="center"><img src="../images/cards/9_paypal.gif" width="60" height="30"></td>
          <td width="120" align="center">&nbsp;</td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="../images/spacer.gif" width="50" height="10"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          
            <tr>
              <td><table width="952" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td bgcolor="<?=$bgcolor?>" style="border-top:#FFFFFF 1px solid; border-bottom:#FFFFFF 1px solid"><img src="../images/spacer.gif" width="952" height="5"></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td><table width="952" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td bgcolor="#CCCCCC" style="border-top:#FFFFFF 1px solid; border-bottom:#FFFFFF 1px solid"><img src="../images/spacer.gif" width="952" height="1"></td>
                  </tr>
                </table>
                <table width="100%" height="30" border="0" cellpadding="2" cellspacing="0">
                    
                    <tr>
                      <td width="20" class="credits">&nbsp;</td>
                      <td class="plain-a">Le informazioni riportate su www.bsvillage.com possono essere soggette a modifiche senza preavviso. Web site design, testi e grafica &copy; 2006 BS Village. E' vietata la riproduzione anche parziale. BS Village 42100 Reggio Emilia P.IVA 02218140354</td>
                      <td width="20" class="plain-a">&nbsp;</td>
                      <td  style="border-left:#CCCCCC 1px solid" width="150" bgcolor="#FFFFFF" class="credits"><div align="center">WebSite by <a href="http://www.media-tek.it" title="Media Tek" target="_blank" class="credits" rel="nofollow">Media Tek</a></div></td>
                    </tr>
                </table>
				<table width="100%" border="0" cellpadding="2" cellspacing="0">
				  <tr>
				    <td align="center" class="credits" valign="middle"><?=$menukey?></td>
				  </tr>
				</table>
			</td>
            </tr>
            
        </table></td>
        </tr>
      
      <tr>
        <td valign="bottom" bgcolor="#CCCCCC"><img src="../images/spacer.gif" width="952" height="1"></td>
        </tr>
    </table></td>
    <td width="20" background="">&nbsp;</td>
    <td background="">&nbsp;</td>
  </tr>
</table>
<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2773334-1";
urchinTracker();
</script>
--></body>
<!-- InstanceEnd --></html>